Cryptosniper2ENGLISH:
Cryptosniper2
It is a creator indicator of Cryptofxsignals - Product of Paybit S.A.S
Which has an opportunity to buy or sell in multiple markets used for the market of cryptocurrencies.
This indicator has combined buy / sell signals of support and resistance
Characteristics of the indicator
Crosses of Moving Averages - Cryptofxma - Mobile media crossing 20,50,100,200
Measure price histories to automatically calculate supports and resistances, calculating the highs and porces, weeks and monthly
Calculate the RSI levels
Calculate Macd crosses
If the price candle breaks the support or resistance to the upside and all the conditions a purchase signal is marked
If the price candle breaks the resistance or support to the downside and all the conditions a sale signal is marked
Español:
Cryptosniper2
Es un indicador creador de Cryptofxsignals - Producto de Paybit S.A.S
El cual tiene una oportunidad de comprar o vender en multiples mercados usados para el mercado de las criptomonedas.
Este indicador tiene señales de compra / venta combinadas de soporte y resistencia
Caracteristicas del indicador
Cruces de Medias Móviles - Cryptofxma - Cruce de medios moviles 20,50,100,200
Mide historicos de precios para calcular automaticamente soportes y resistencias, calculando los altos y porcias, semanas y mensuales
Calcula los niveles RSI
Calcula cruces de Macd
Si la vela de precio rompe el soporte o resistencia a la alza y todas las condiciones se marca una señal de compra
Si la vela de precio rompe la resistencia o soporte a la baja y todas las condiciones se marca una señal de venta
Cerca negli script per "Buy sell"
oenbot BB Buying OpportunitiesThis is my first attempt to emulate the eonbot BB strategy (github.com).
Definitely a beta version, need to work out why false positives, and stop buy/sells after previous buy/sell.
In the wiki page example of eonbot it refers to 75%, in this script enter the converse ... 25% and it should plot accurately.
If you are not familiar with eonbot check out the wiki & github sites : github.com
credits to: www.tradingview.com for the trending components
AutoTrader v2 by CryptoProToolsAutoTrader v2 comes with the ability to heavily customize / fine tune your Buying and Selling strategies separately.
Want to factor in RSI, LOWBB and EMAGAIN for Buys, but then only use MFI and EMA Channels for Sells?
THIS CAN DO THAT!
Choose from the following to create your ideal strategy :
- HIGH BB / LOW BB
- EMAGAIN
- RSI (Relative Strength Index)
- MFI (Money Flow)
- EMA Channels
------------------------------------
CryptoProTools Members Only
-----------------------------------
Hit me up to learn more about becoming a member.
SMMA Analyses - Buy / Sell signals and close position signals This script combines the usage of the SMMA indicator in order to provide signals for opening and closing trades, either buy or sell signals.
It uses two SMMA , a fast and a slow one, both configurable by the users.
The trigger of Buy and Sell Signals are calculated through the SMMA crosses:
Buy Signals : The fast SMMA crosses over the slow SMMA . They are highlighting by a green area and a "B" label.
Sell Signals : The fast SMMA crosses under the slow SMMA . They are highlighting by a red area and a "S" label
The trigger of Close Buy and Close Sell Signals are calculated through the close price crosses with the fast SMMA:
Close Buy Signals : The fast SMMA crosses under the close price and at the same time the trend is bullish , so the fast SMMA is greater than the slow SMMA . They are highlighted by a lighter green area
Close Sell Signals : The fast SMMA crosses over the close price and at the same time the trend is bearish , so the fast SMMA is lower than the slow SMMA . They are highlighted by a lighter red area
Few important points about the indicator and the produced signals :
This is not intended to be a strategy, but an indicator for analyzing the SMMA conditions. It gives you the triggers depending on the real time analysis of the SMMA and prices, but not being a proper strategy, pay attention about "fake signals" and add always a visual analysis to the provided signals
Following this indicator, the trade positions should be opened only when a cross happens. Either in this case, analyse the chart in order to see if the signals are a "weak" ones, due to "waves" around the SMMA . In these cases, you might wait for the next confirmation signals after the waves, when the trend will be better defined
The close trade signals are provided in order to help to understand when you should close the buy or sell trades. Even in this case, always add a visual analysis to the signals, and pay attention to the support/resistance areas. Sometimes, you can have the close signals in correspondence to support/resistance areas: in these cases wait for the definition of the trend and eventually for the next close trade signals if they will be better defined
Reversal Candle Pattern SetUp
An outside reversal candle set up script with buy/sell signals. Looks simple but it's pretty powerful especially if combined with your choice confirming indicator.
The pattern psychology is this one (Frank Ochoa explanation): " The power behind this pattern lies in the psychology behind the traders involved in this setup. If you have ever participated in a breakout at support or resistance only to have the market reverse sharply against you, then you are familiar with the market dynamics of this setup.
[Basically, market participants are testing the waters above resistance or below support to make sure there is no new business to be done at these levels. When no initiative buyers or sellers participate in range extension, responsive participants have all the information they need to reverse price back toward a new area of perceived value.
As you look at a bullish outside reversal pattern, you will notice that the current bar's low is lower than the
prior bar's low. Essentially, the market is testing the waters below recently established lows to see if a downside
follow-through will occur. When no additional selling pressure enters the market, the result is a flood of buying
pressure that causes a springboard effect, thereby shooting price above the prior bar's highs and creating the
beginning of a bullish advance."
ATS Net volume EXPERT V5.0ATS NET VOLUME EXPERT V5.0
Smart Money Flow Analysis System (Professional Edition)
▍System Overview
ATS NET VOLUME EXPERT V5.0 is an advanced volume-based indicator optimized for institutional capital flow analysis. Featuring new multi-timeframe synergy and enhanced volume bar algorithms, it delivers superior signal accuracy. The system tracks net buying/selling pressure to identify smart money movements while cross-verifying across timeframes to minimize false signals.
▍Key Upgrades
1. Multi-Timeframe Synergy (New Feature)
🔹 Synchronized Timeframe Analysis
Displays higher/lower timeframe trends (e.g., 15min + 4H) on your active chart (e.g., 1H)
Prevents single-tf misjudgment:
*Daily net inflow + 1H net outflow → Likely short-term pullback*
Weekly outflow + Daily inflow → Watch for bull traps
🔹 Intelligent Timeframe Matching
Auto-links optimal analysis periods (e.g., 5min ↔ 30min)
Manual timeframe switching for customized strategies
2. Volume Bar Algorithm Fixes
🔹 Critical Bug Fixes
Eliminated extreme market price-volume distortion
Enhanced block order detection (no more misclassified retail orders as institutional)
🔹 Dynamic Smoothing
Auto-adjusts sensitivity for low-liquidity markets (e.g., crypto) to reduce noise
▍Core Features (Enhanced)
✅ Net Volume Dynamics
Real-time buy/sell volume differential (units: millions/billions)
NEW: Optional secondary timeframe display below price chart
✅ Smart Money Detection (Upgraded)
Adaptive thresholds for different assets (stocks/futures/crypto)
✅ Signal Classification (Refined)
Net Volume Range Market Implication Timeframe Confirmation
> +50M Strong inflow (Bullish) Require higher tf confirmation
+10M to +50M Moderate accumulation Monitor continuation
-10M to +10M Neutral zone Price structure decisive
-10M to -50M Distribution phase Watch lower tf acceleration
< -50M Panic selling (Bearish) Weekly confluence confirms trend
▍Practical Applications
🛡️ Case Study: False Signal Elimination
Legacy Issue: 1H showed net buys while 15M was a bull trap
V5.0 Solution: 4H net sell warning prevents reversal misreads
⚡ Flash Crash Resilience
Accurately flags institutional dumping during volatility spikes
▍Competitive Edge
🚀 Timeframe Harmony: 67% fewer false signals vs. single-tf analysis
🎯 Institutional-Grade Precision: 30% better block order detection
📉 Noise Immunity: 22% lower drawdown in backtesting
Pro Tip: Always combine with price action (S/R, trendlines) and require ≥2 timeframe confirmations for high-probability trades.
(Optimized for: Stocks/Futures/Crypto/FX – Institutional Liquidity Markets)
MATIC Institutional Buy/Sell Zones📈 Purpose
To identify areas on the chart where institutional-level buying (accumulation) or selling (distribution) may be occurring — based on key technical and volume-based filters — and to help reduce false signals using smart logic.
✅ Smart Buy Signal (Accumulation Zone)
Triggered when:
RSI < 65 – Price is not overbought; leaves room to rise.
MACD line > Signal line – Momentum is positive.
Price is above both EMA 50 and BB midline – Price structure is bullish.
EMA 10 is below EMA 50 – Early stage of a trend shift.
Volume spike above 1.3x average – Sign of strong buyer interest.
📍 Visual Output:
Green background highlights zone.
Green “Smart Buy” label below bar.
❌ Smart Sell Signal (Distribution Zone)
Triggered when:
RSI > 55 – Price is mildly overbought, vulnerable to reversal.
MACD line < Signal line – Momentum turning bearish.
Price is below EMA 50 or BB midline – Weakening trend.
EMA 10 is above EMA 50 – Potential early shift downward.
Volume spike above 1.3x average – Distribution volume present.
📍 Visual Output:
Red background highlights zone.
Red “Smart Sell” label above bar.
🧠 Key Features
Designed for professional-level clarity.
Filters out most retail-level noise by requiring volume confirmation and trend confluence.
Combines momentum, structure, and volume into a multi-factor signal system.
🔔 Alerts
You can set TradingView alerts for:
When a Smart Buy or Smart Sell signal appears — ideal for non-screen time entry/exit alerts.
CPD Approach Algo [ValiantTrader]CPD Approach Algo Indicator Explained
This indicator, created by ValiantTrader, is a sophisticated tool for analyzing price action and market structure across different timeframes. Here's how it works and how traders use it:
Core Functionality
The CPD (Candle Price Distribution) Approach Algo divides the price range into horizontal zones and analyzes several key metrics within each zone:
Price Distribution: Shows where price has spent most time (high concentration areas)
Volume Clusters: Identifies zones with significant trading volume
Pressure Zones: Detects buying/selling pressure in specific price levels
Candle Differences: Highlights transitions between zones
How Traders Use It
1. Identifying Key Levels
The colored zones (green for buy, red for sell, gray neutral) show where price has historically reacted
Dense candle clusters indicate strong support/resistance areas
2. Volume Analysis
Volume clusters reveal where most trading activity occurred
High volume zones often act as magnets for price or reversal points
3. Pressure Detection
The pressure zones (with ↑ and ↓ arrows) show where buying or selling pressure was strongest
Helps identify potential breakout or reversal points
4. Multi-Timeframe Analysis
The custom timeframe input allows analyzing higher timeframe structure while viewing lower timeframe charts
Helps align trades with the dominant timeframe's structure
5. Transition Analysis
The delta values between zones show how price is moving between levels
Positive deltas (green) show upward momentum, negative (red) show downward
Practical Trading Applications
Support/Resistance Trading: Fade price at dense candle clusters with opposing pressure
Breakout Trading: Trade breaks from low-candle-count zones into high-volume zones
Mean Reversion: Trade returns to high-volume value areas after deviations
Trend Confirmation: Consistent pressure in one direction confirms trend strength
The indicator provides a comprehensive view of market structure by combining price, volume, and time elements across customizable timeframes, helping traders make more informed decisions about potential entries, exits, and key levels to watch.
Malama's Heikin CountMalama's Heikin Count is a Pine Script indicator designed to enhance price action analysis by combining Heikin Ashi candlestick calculations with a normalized measurement of upper and lower shadow sizes. The indicator overlays Heikin Ashi candles on the chart and displays the relative sizes of upper and lower shadows as numerical labels (scaled from 1 to 10) for candles within the last two days, starting from 9:00 AM each day. This tool aims to help traders identify the strength of price movements and potential reversals by quantifying the significance of candlestick shadows in the context of Heikin Ashi’s smoothed price data. It is particularly useful for day traders and swing traders who rely on candlestick patterns to gauge market sentiment and momentum.
The indicator solves the problem of interpreting raw candlestick data by providing a smoothed visualization through Heikin Ashi candles and a simplified, numerical representation of shadow sizes. This allows traders to quickly assess whether a candle’s upper or lower shadow indicates strong buying or selling pressure, aiding in decision-making for entries, exits, or reversals.
Originality and Usefulness
Originality: While Heikin Ashi candles are a well-known technique for smoothing price data and reducing noise, Malama's Heikin Count introduces a novel feature by calculating and normalizing the sizes of upper and lower shadows relative to the total candle height. Unlike standard Heikin Ashi implementations, which focus solely on candle body trends, this indicator quantifies shadow proportions and presents them on a standardized 1–10 scale. This normalization makes it easier for traders to compare shadow significance across different timeframes and assets without needing to manually interpret raw measurements. The restriction of shadow size labels to the last two days from 9:00 AM ensures relevance for active trading sessions, avoiding clutter from older data.
Usefulness: The indicator is particularly valuable for traders who combine candlestick pattern analysis with trend-following strategies. By integrating Heikin Ashi’s trend-smoothing capabilities with shadow size metrics, it provides a unique perspective on market dynamics. For example, large upper shadows (high normalized values) may indicate rejection at resistance levels, while large lower shadows may suggest support or buying pressure. Unlike other open-source Heikin Ashi indicators, which typically focus only on candle plotting, this script’s shadow size normalization and time-based filtering offer a distinctive tool for intraday and short-term trading strategies.
Detailed Methodology ("How It Works")
The core logic of Malama's Heikin Count revolves around three main components: Heikin Ashi candle calculations, shadow size analysis, and time-based filtering for label display. Below is a breakdown of how these components work together:
Heikin Ashi Candle Calculations:
The script calculates Heikin Ashi candles to smooth price data and reduce market noise, making trends easier to identify.
Formulas:
haClose = (open + high + low + close) / 4: The Heikin Ashi close is the average of the current bar’s open, high, low, and close prices.
haOpen = na(haOpen ) ? (open + close) / 2 : (haOpen + haClose ) / 2: The Heikin Ashi open is either the average of the current bar’s open and close (for the first bar) or the average of the previous Heikin Ashi open and close.
haHigh = max(high, max(haOpen, haClose)): The Heikin Ashi high is the maximum of the current bar’s high, Heikin Ashi open, and Heikin Ashi close.
haLow = min(low, min(haOpen, haClose)): The Heikin Ashi low is the minimum of the current bar’s low, Heikin Ashi open, and Heikin Ashi close.
These calculations produce smoothed candles that emphasize trend direction and reduce the impact of short-term price fluctuations.
Shadow Size Analysis:
The script calculates the upper and lower shadows of each Heikin Ashi candle to assess market sentiment.
Formulas:
upperShadow = haHigh - max(haClose, haOpen): Measures the length of the upper shadow (distance from the top of the candle body to the high).
lowerShadow = min(haClose, haOpen) - haLow: Measures the length of the lower shadow (distance from the bottom of the candle body to the low).
totalHeight = haHigh - haLow: Calculates the total height of the candle (from high to low).
upperShadowPercentage = (upperShadow / totalHeight) * 100: Converts the upper shadow length to a percentage of the total candle height.
lowerShadowPercentage = (lowerShadow / totalHeight) * 100: Converts the lower shadow length to a percentage of the total candle height.
Normalization: The normalizeShadowSize function scales the shadow percentages to a 1–10 range using math.round(value / 10). This ensures that shadow sizes are presented in an easily interpretable format, where 1 represents a very small shadow (less than 10% of the candle height) and 10 represents a very large shadow (90–100% of the candle height). The normalization caps values between 1 and 10 for consistency.
Time-Based Filtering:
The script only displays shadow size labels for candles within the last two days, starting from 9:00 AM each day. This is achieved by calculating a start timestamp using timestamp(year(timenow), month(timenow), dayofmonth(timenow) - daysBack, startHour, startMinute), where daysBack = 2, startHour = 9, and startMinute = 0.
The condition time >= startTime ensures that labels are only plotted for candles within this time window, keeping the chart relevant for recent trading activity and avoiding clutter from older data.
Signal Generation:
The script does not generate explicit buy or sell signals but provides visual cues through shadow size labels. Large upper shadow sizes (e.g., 8–10) may indicate selling pressure or resistance, while large lower shadow sizes may suggest buying pressure or support. Traders can use these metrics in conjunction with the Heikin Ashi candle colors (green for bullish, red for bearish) to make trading decisions.
Strategy Results and Risk Management
Backtesting: The script is an indicator and does not include built-in backtesting or strategy logic for generating buy/sell signals. As such, it does not assume specific commission, slippage, or account sizing parameters. Traders using this indicator should incorporate it into their existing strategies, applying their own risk management rules.
Risk Management Guidance:
Traders can use the shadow size labels to inform risk management decisions. For example, a large upper shadow (e.g., 8–10) at a resistance level may prompt a trader to set a tighter stop-loss above the candle’s high, anticipating a potential reversal. Conversely, a large lower shadow at a support level may suggest a wider stop-loss below the low to account for volatility.
Default settings (e.g., 2-day lookback, 9:00 AM start) are designed to focus on recent price action, which is suitable for intraday and short-term swing trading. Traders should combine the indicator with other tools (e.g., support/resistance levels, trendlines) to define risk limits, such as risking 5–10% of equity per trade.
The indicator does not enforce specific risk management settings, allowing traders to customize their approach based on their risk tolerance and trading style.
User Settings and Customization
The script includes the following user-customizable inputs:
Days Back (daysBack = 2):
Description: Controls the lookback period for displaying shadow size labels. The default value of 2 means labels are shown for candles within the last two days.
Impact: Increasing daysBack extends the time window for label display, which may be useful for longer-term analysis but could clutter the chart. Decreasing it focuses on more recent data, ideal for intraday trading.
Start Hour (startHour = 9) and Start Minute (startMinute = 0):
Description: Defines the start time of the trading day (default is 9:00 AM). Labels are only shown for candles after this time each day within the lookback period.
Impact: Traders can adjust these settings to align with their preferred trading session (e.g., 9:30 AM for U.S. market open). Changing the start time shifts the time window for label display, affecting which candles are analyzed.
These settings allow traders to tailor the indicator to their trading timeframe and session preferences, ensuring that the shadow size labels remain relevant to their analysis.
Visualizations and Chart Setup
The indicator plots the following elements on the chart:
Heikin Ashi Candles:
Plotted using plotcandle(haOpen, haClose, haHigh, haLow), these candles overlay the standard price chart.
Color Coding: Green candles indicate bullish momentum (Heikin Ashi close ≥ open), while red candles indicate bearish momentum (Heikin Ashi close < open).
These candles provide a smoothed view of price trends, making it easier to identify trend direction and continuations.
Shadow Size Labels:
Upper Shadow Labels: Displayed above each candle at the Heikin Ashi high, showing the normalized upper shadow size (1–10). These labels are green with white text and use the label.style_label_down style for clear visibility.
Lower Shadow Labels: Displayed below each candle at the Heikin Ashi low, showing the normalized lower shadow size (1–10). These labels are red with white text and use the label.style_label_up style.
Labels are only shown for candles within the last two days from 9:00 AM, ensuring that only recent and relevant data is visualized.
Debugging Labels (Optional):
A blue label at the bottom of the chart displays the text "Upper: Lower: " for each candle, showing both shadow sizes for debugging purposes. This can be removed or commented out if not needed, as it is primarily for development use.
The visualizations are designed to be minimal and focused, ensuring that traders can quickly interpret the Heikin Ashi trend and shadow size metrics without unnecessary clutter. The use of color-coded candles and labels enhances readability, while the time-based filtering keeps the chart clean and relevant.
Information Asymmetry Gradient (IAG) What is the Information Asymmetry Gradient (IAG)?
The Information Asymmetry Gradient (IAG) is a unique market regime and imbalance detector that quantifies the subtle, directional “information flow” in price and volume. Inspired by information theory and market microstructure, IAG is designed to help traders spot the early buildup of conviction or surprise—the kind of hidden imbalance that often precedes major price moves.
Unlike traditional volume or momentum indicators, IAG focuses on the efficiency and directionality of information transfer: how much “informational energy” is being revealed by up-moves versus down-moves, normalized by price movement. It’s not just about net flow, but about the quality and asymmetry of that flow.
Theoretical Foundation
Information Asymmetry: Markets move when new information is revealed. If one side (buyers or sellers) is consistently more “informationally efficient” per unit of price change, an imbalance is building—even if price hasn’t moved much yet.
Gradient: By tracking the rate of change (gradient) between fast and slow information flows, IAG highlights when a subtle imbalance is accelerating.
Volatility of Asymmetry: Sudden spikes in the volatility of information asymmetry often signal regime uncertainty or the approach of a “surprise” move.
How IAG Works
Directional Information Content: For each bar, IAG estimates the “information per unit of price change” for both up-moves and down-moves, using volume and price action.
Asymmetry Calculation: Computes the difference (or ratio) between up and down information content, revealing directional bias.
Gradient Detection: Calculates both a fast and slow EMA of the asymmetry, then measures their difference (the “gradient”), normalized as a Z-score.
Volatility of Asymmetry: Tracks the standard deviation of asymmetry over a rolling window, with Z-score normalization to spot “information shocks.”
Flow Strength: Quantifies the conviction of the current information flow on a 0–100 scale.
Regime Detection: Flags “extreme” asymmetry, “building” flow, and “high volatility” states.
Inputs:
🌌 Core Asymmetry Parameters
Fast Information Period (short_len, default 8): EMA period for detecting immediate information flow changes.
5–8: Scalping (1–5min)
8–12: Day trading (15min–1hr)
12–20: Swing trading (4hr+)
Slow Information Period (long_len, default 34): EMA period for baseline information context. Should be 3–5x fast period.
Default (34): Fibonacci number, stable for most assets.
Gradient Smoothing (gradient_smooth, default 3): Smooths the gradient calculation.
1–2: Raw, responsive
3–5: Balanced
6–10: Very smooth
📊 Asymmetry Method
Calculation Mode (calc_mode, default "Weighted"):
“Simple”: Basic volume split by direction
“Weighted”: Volume × price movement (default, most robust)
“Logarithmic”: Log-scaled for large moves
Use Ratio (show_ratio, default false):
“Difference”: UpInfo – DownInfo (additive)
“Ratio”: UpInfo / DownInfo (multiplicative, better for comparing volatility regimes)
🌊 Volatility Analysis
Volatility Window (stdev_len, default 21): Lookback for measuring asymmetry volatility.
Volatility Alert Level (vol_threshold, default 1.5): Z-score threshold for volatility alerts.
🎨 Visual Settings
Color Theme (color_theme, default "Starry Night"):
Van Gogh-inspired palettes:
“Starry Night”: Deep blues and yellows
“Sunflowers”: Warm yellows and browns
“Café Terrace”: Night blues and warm lights
“Wheat Field”: Golden and sky blue
Show Swirl Effects (show_swirls, default true): Adds swirling background to visualize information turbulence.
Show Signal Stars (show_stars, default true): Star markers at significant asymmetry points.
Show Info Dashboard (show_dashboard, default true): Top-right panel with current metrics and market state.
Show Flow Visualization (show_flow, default true): Main gradient line with artistic effects.
Color Schemes
Dynamic color gradients adapt to both the direction and intensity of the information gradient, using Van Gogh-inspired palettes for visual clarity and artistic flair.
Glow and aura effects: The main line is layered with glows for depth and to highlight strong signals.
Swirl background: Visualizes the “turbulence” of information flow, darker and more intense as flow strength and volatility rise.
Visual Logic
Main Gradient Line: Plots the normalized information gradient (Z-score), color-coded by direction and intensity.
Glow/Aura: Multiple layers for visual depth and to highlight strong signals.
Threshold Zones: Dotted lines and filled areas mark “Building” and “Extreme” asymmetry zones.
Volatility Ribbon: Area plot of volatility Z-score, highlighting information shocks.
Signal Stars: Circular markers at each “Extreme” event, color-coded for bullish/bearish; cross markers for volatility spikes.
Dashboard: Top-right panel shows current status (Extreme, Building, High Volatility, Balanced), gradient value, flow strength, information balance, and volatility status.
Trading Guide: Bottom-left panel explains all states and how to interpret them.
How to Use IAG
🌟 EXTREME: Major information imbalance—potential for explosive move or reversal.
🌙 BUILDING: Asymmetry is forming—watch for a breakout or trend acceleration.
🌪️ HIGH VOLATILITY: Information flow is unstable—expect regime uncertainty or “surprise” moves.
☁️ BALANCED: No clear bias—market is in equilibrium.
Positive Gradient: Bullish information flow (buyers have the edge).
Negative Gradient: Bearish information flow (sellers have the edge).
Flow >66%: Strong conviction—crowd is acting in unison.
Volatility Spike: Regime uncertainty—be alert for sudden moves.
Tips:
- Use lower periods for scalping, higher for swing trading.
- “Weighted” mode is most robust for most assets.
- Combine with price action or your own system for confirmation.
- Works on all assets and timeframes—tune to your style.
Alerts
IAG Extreme Asymmetry: Extreme information asymmetry detected.
IAG Building Flow: Information flow building.
IAG High Volatility: Information volatility spike.
IAG Bullish/Bearish Extreme: Directional extreme detected.
Originality & Usefulness
IAG is not a mashup of existing indicators. It is a novel approach to quantifying the “surprise” or “conviction” element in market moves, focusing on the efficiency and directionality of information transfer per unit of price change. The multi-layered color logic, artistic visual effects, and regime dashboard are unique to this script. IAG is designed for anticipation, not confirmation—helping you see subtle imbalances before they become obvious in price.
Chart Info
Script Name: Information Asymmetry Gradient (IAG) – Starry Night
Recommended Use: Any asset, any timeframe. Tune parameters to your style.
Disclaimer
This script is for research and educational purposes only. It does not provide financial advice or direct buy/sell signals. Always use proper risk management and combine with your own strategy. Past performance is not indicative of future results.
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
PhenLabs - Market Fluid Dynamics📊 Market Fluid Dynamics -
Version: PineScript™ v6
📌 Description
The Market Fluid Dynamics - Phen indicator is a new thinking regarding market analysis by modeling price action, volume, and volatility using a fluid system. It attempts to offer traders control over more profound market forces, such as momentum (speed), resistance (thickness), and buying/selling pressure. By visualizing such dynamics, the script allows the traders to decide on the prevailing market flow, its power, likely continuations, and zones of calmness and chaos, and thereby allows improved decision-making.
This measure avoids the usual difficulty of reconciling multiple, often contradictory, market indications by including them within a single overarching model. It moves beyond traditional binary indicators by providing a multi-dimensional view of market behavior, employing fluid dynamic analogs to describe complex interactions in an accessible manner.
🚀 Points of Innovation
Integrated Fluid Dynamics Model: Combines velocity, viscosity, pressure, and turbulence into a single indicator.
Normalized Metrics: Uses ATR and other normalization techniques for consistent readings across different assets and timeframes.
Dynamic Flow Visualization: Main flow line changes color and intensity based on direction and strength.
Turbulence Background: Visually represents market stability with a gradient background, from calm to turbulent.
Comprehensive Dashboard: Provides an at-a-glance summary of key fluid dynamic metrics.
Multi-Layer Smoothing: Employs several layers of EMA smoothing for a clearer, more responsive main flow line.
🔧 Core Components
Velocity Component: Measures price momentum (first derivative of price), normalized by ATR. It indicates the speed and direction of price changes.
Viscosity Component: Represents market resistance to price changes, derived from ATR relative to its historical average. Higher viscosity suggests it’s harder for prices to move.
Pressure Component: Quantifies the force created by volume and price range (close - open), normalized by ATR. It reflects buying or selling pressure.
Turbulence Detection: Calculates a Reynolds number equivalent to identify market stability, ranging from laminar (stable) to turbulent (chaotic).
Main Flow Indicator: Combines the above components, applying sensitivity and smoothing, to generate a primary signal of market direction and strength.
🔥 Key Features
Advanced Smoothing Algorithm: Utilizes multiple EMA layers on the raw flow calculation for a fluid and responsive main flow line, reducing noise while maintaining sensitivity.
Gradient Flow Coloring: The main flow line dynamically changes color from light to deep blue for bullish flow and light to deep red for bearish flow, with intensity reflecting flow strength. This provides an immediate visual cue of market sentiment and momentum.
Turbulence Level Background: The chart background changes color based on calculated turbulence (from calm gray to vibrant orange), offering an intuitive understanding of market stability and potential for erratic price action.
Informative Dashboard: A customizable on-screen table displays critical metrics like Flow State, Flow Strength, Market Viscosity, Turbulence, Pressure Force, Flow Acceleration, and Flow Continuity, allowing traders to quickly assess current market conditions.
Configurable Lookback and Sensitivity: Users can adjust the base lookback period for calculations and the sensitivity of the flow to viscosity, tailoring the indicator to different trading styles and market conditions.
Alert Conditions: Pre-defined alerts for flow direction changes (positive/negative crossover of zero line) and detection of high turbulence states.
🎨 Visualization
Main Flow Line: A smoothed line plotted below the main chart, colored blue for bullish flow and red for bearish flow. The intensity of the color (light to dark) indicates the strength of the flow. This line crossing the zero line can signal a change in market direction.
Zero Line: A dotted horizontal line at the zero level, serving as a baseline to gauge whether the market flow is positive (bullish) or negative (bearish).
Turbulence Background: The indicator pane’s background color changes based on the calculated turbulence level. A calm, almost transparent gray indicates low turbulence (laminar flow), while a more vibrant, semi-transparent orange signifies high turbulence. This helps traders visually assess market stability.
Dashboard Table: An optional table displayed on the chart, showing key metrics like ‘Flow State’, ‘Flow Strength’, ‘Market Viscosity’, ‘Turbulence’, ‘Pressure Force’, ‘Flow Acceleration’, and ‘Flow Continuity’ with their current values and qualitative descriptions (e.g., ‘Bullish Flow’, ‘Laminar (Stable)’).
📖 Usage Guidelines
Setting Categories
Show Dashboard - Default: true; Range: true/false; Description: Toggles the visibility of the Market Fluid Dynamics dashboard on the chart. Enable to see key metrics at a glance.
Base Lookback Period - Default: 14; Range: 5 - (no upper limit, practical limits apply); Description: Sets the primary lookback period for core calculations like velocity, ATR, and volume SMA. Shorter periods make the indicator more sensitive to recent price action, while longer periods provide a smoother, slower signal.
Flow Sensitivity - Default: 0.5; Range: 0.1 - 1.0 (step 0.1); Description: Adjusts how much the market viscosity dampens the raw flow. A lower value means viscosity has less impact (flow is more sensitive to raw velocity/pressure), while a higher value means viscosity has a greater dampening effect.
Flow Smoothing - Default: 5; Range: 1 - 20; Description: Controls the length of the EMA smoothing applied to the main flow line. Higher values result in a smoother flow line but with more lag; lower values make it more responsive but potentially noisier.
Dashboard Position - Default: ‘Top Right’; Range: ‘Top Right’, ‘Top Left’, ‘Bottom Right’, ‘Bottom Left’, ‘Middle Right’, ‘Middle Left’; Description: Determines the placement of the dashboard on the chart.
Header Size - Default: ‘Normal’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’, ‘Huge’; Description: Sets the text size for the dashboard header.
Values Size - Default: ‘Small’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’; Description: Sets the text size for the metric values in the dashboard.
✅ Best Use Cases
Trend Identification: Identifying the dominant market flow (bullish or bearish) and its strength to trade in the direction of the prevailing trend.
Momentum Confirmation: Using the flow strength and acceleration to confirm the conviction behind price movements.
Volatility Assessment: Utilizing the turbulence metric to gauge market stability, helping to adjust position sizing or avoid choppy conditions.
Reversal Spotting: Watching for divergences between price and flow, or crossovers of the main flow line above/below the zero line, as potential reversal signals, especially when combined with changes in pressure or viscosity.
Swing Trading: Leveraging the smoothed flow line to capture medium-term market swings, entering when flow aligns with the desired trade direction and exiting when flow weakens or reverses.
Intraday Scalping: Using shorter lookback periods and higher sensitivity to identify quick shifts in flow and turbulence for short-term trading opportunities, particularly in liquid markets.
⚠️ Limitations
Lagging Nature: Like many indicators based on moving averages and lookback periods, the main flow line can lag behind rapid price changes, potentially leading to delayed signals.
Whipsaws in Ranging Markets: During periods of low volatility or sideways price action (high viscosity, low flow strength), the indicator might produce frequent buy/sell signals (whipsaws) as the flow oscillates around the zero line.
Not a Standalone System: While comprehensive, it should be used in conjunction with other forms of analysis (e.g., price action, support/resistance levels, other indicators) and not as a sole basis for trading decisions.
Subjectivity in Interpretation: While the dashboard provides quantitative values, the interpretation of “strong” flow, “high” turbulence, or “significant” acceleration can still have a subjective element depending on the trader’s strategy and risk tolerance.
💡 What Makes This Unique
Fluid Dynamics Analogy: Its core strength lies in translating complex market interactions into an intuitive fluid dynamics framework, making concepts like momentum, resistance, and pressure easier to visualize and understand.
Market View: Instead of focusing on a single aspect (like just momentum or just volatility), it integrates multiple factors (velocity, viscosity, pressure, turbulence) to provide a more comprehensive picture of market conditions.
Adaptive Visualization: The dynamic coloring of the flow line and the turbulence background provide immediate, adaptive visual feedback that changes with market conditions.
🔬 How It Works
Price Velocity Calculation: The indicator first calculates price velocity by measuring the rate of change of the closing price over a given ‘lookback’ period. The raw velocity is then normalized by the Average True Range (ATR) of the same lookback period. Normalization enables comparison of momentum between assets or timeframes by scaling for volatility. This is the direction and speed of initial price movement.
Viscosity Calculation: Market ‘viscosity’ or resistance to price movement is determined by looking at the current ATR relative to its longer-term average (SMA of ATR over lookback * 2). The further the current ATR is above its average, the lower the viscosity (less resistance to price movement), and vice-versa. The script inverts this relationship and bounds it so that rising viscosity means more resistance.
Pressure Force Measurement: A ‘pressure’ variable is calculated as a function of the ratio of current volume to its simple moving average, multiplied by the price range (close - open) and normalized by ATR. This is designed to measure the force behind price movement created by volume and intraday price thrusts. This pressure is smoothed by an EMA.
Turbulence State Evaluation: A equivalent ‘Reynolds number’ is calculated by dividing the absolute normalized velocity by the viscosity. This is the proclivity of the market to move in a chaotic or orderly fashion. This ‘reynoldsValue’ is smoothed with an EMA to get the ‘turbulenceState’, which indicates if the market is laminar (stable), transitional, or turbulent.
Main Flow Derivation: The ‘rawFlow’ is calculated by taking the normalized velocity, dampening its impact based on the ‘viscosity’ and user-input ‘sensitivity’, and orienting it by the sign of the smoothed ‘pressureSmooth’. The ‘rawFlow’ is then put through multiple layers of exponential moving average (EMA) smoothing (with ‘smoothingLength’ and derived values) to reach the final ‘mainFlow’ line. The extensive smoothing is designed to give a smooth and clear visualization of the overall market direction and magnitude.
Dashboard Metrics Compilation: Additional metrics like flow acceleration (derivative of mainFlow), and flow continuity (correlation between close and volume) are calculated. All primary components (Flow State, Strength, Viscosity, Turbulence, Pressure, Acceleration, Continuity) are then presented in a user-configurable dashboard for ease of monitoring.
💡 Note:
The “Market Fluid Dynamics - Phen” indicator is designed to offer a unique perspective on market behavior by applying principles from fluid dynamics. It’s most effective when used to understand the underlying forces driving price rather than as a direct buy/sell signal generator in isolation. Experiment with the settings, particularly the ‘Base Lookback Period’, ‘Flow Sensitivity’, and ‘Flow Smoothing’, to find what best suits your trading style and the specific asset you are analyzing. Always combine its insights with robust risk management practices.
SuperSmoothed Volume Zone Oscillator------------------------------------------------------------------------------------
SUPERSMOOTHED VOLUME ZONE OSCILLATOR (SSVZO)
TECHNICAL INDICATOR DOCUMENTATION
------------------------------------------------------------------------------------
Table of Contents:
1. Original VZO Background
2. SuperSmoother Technology
3. SSVZO Components
3.1. Main SSVZO Oscillator
3.2. Momentum Velocity Component
3.3. Adaptive Levels
3.4. Static Levels
3.5. Trend Shift Detection
3.6. Glow Effect Visualization
4. References & Further Reading
------------------------------------------------------------------------------------
1. ORIGINAL VOLUME ZONE OSCILLATOR (VZO) BACKGROUND
------------------------------------------------------------------------------------
Creator: Walid Khalil (November 2009, Technical Analysis of Stocks & Commodities)
History: Khalil designed the VZO to address limitations in other volume indicators
by focusing on the relative balance between buying and selling volume while filtering
out market noise. The indicator identifies accumulation and distribution patterns.
Traditional Usage: The classic VZO uses a 14-period calculation setting and is
interpreted on a scale from -60% to +60%:
- Readings above +40% indicate strong buying pressure (potential overbought)
- Readings below -40% indicate strong selling pressure (potential oversold)
- The zero line acts as a key reference for trend changes
- Divergences between VZO and price offer valuable trading signals
Difference from Other Volume Indicators: Unlike simple volume indicators that only
track total volume, the VZO tracks the relative difference between up-volume and
down-volume, more effectively identifying buying/selling pressure imbalances and
potential reversal points.
------------------------------------------------------------------------------------
2. SUPERSMOOTHER FILTER TECHNOLOGY
------------------------------------------------------------------------------------
Creator: John F. Ehlers, an engineer specializing in digital signal processing for
trading systems.
Origins: Introduced in "Rocket Science for Traders" (2001) and refined in "Cybernetic
Analysis for Stocks and Futures" (2004). Represents the application of digital signal
processing techniques to financial markets.
Technical Foundation: The SuperSmoother is a two-pole low-pass filter specifically
designed to eliminate noise while preserving the underlying signal. It combines
principles of Butterworth and Gaussian filters to minimize both phase shift and
passband ripple.
Mathematical Implementation:
a1 = exp(-π * sqrt(2) / period)
b1 = 2 * a1 * cos(sqrt(2) * π / period)
c2 = b1
c3 = -a1²
c1 = 1 - c2 - c3
Advantages Over Traditional Filters:
- Reduces lag compared to simple moving averages
- Eliminates high-frequency market noise more effectively
- Minimizes unwanted ripples in the output signal
- Preserves important turning points in the data
- Superior handling of sudden market movements
According to Ehlers: "Conventional moving averages are plagued by excessive lag and/or
rippling in their passband. The SuperSmoother eliminates virtually all of this ripple
and has excellent transient response characteristics." (TASC Magazine, 2014)
------------------------------------------------------------------------------------
3. SSVZO COMPONENTS
------------------------------------------------------------------------------------
3.1. MAIN SSVZO OSCILLATOR
------------------------------------------------------------------------------------
Description: The core component measuring buying vs. selling volume pressure using
the SuperSmoother filter for enhanced noise reduction.
Calculation: SSVZO analyzes the relationship between up-volume (volume on rising
prices) and down-volume (volume on falling prices), applying exponential moving
averages to both components, then calculating their relative strength. The
SuperSmoother filter reduces market noise while preserving the underlying trend signal.
Implementation Advantage: By applying the SuperSmoother filter to the VZO calculation,
the SSVZO provides significantly cleaner signals with fewer false crossovers and more
accurate identification of true trend changes.
Interpretation:
- Values above zero indicate bullish volume dominance
- Values below zero indicate bearish volume dominance
- Readings above +60 suggest overbought conditions
- Readings below -60 suggest oversold conditions
- Crossovers of the zero line signal potential trend changes
Trading Application: Use SSVZO as a primary volume-based momentum indicator to
confirm price trends, identify divergences, and spot potential reversal zones.
------------------------------------------------------------------------------------
3.2. MOMENTUM VELOCITY COMPONENT
------------------------------------------------------------------------------------
Description: A histogram displaying the rate of change of momentum, showing how
quickly buying or selling pressure is accelerating or decelerating.
Calculation: Derived from price momentum over a user-defined period, with optional
adaptive filtering that adjusts sensitivity based on market volatility. The velocity
component shows the first derivative of momentum – essentially the "acceleration" of
market movement.
Technical Origin: Inspired by Ehlers' work on Hilbert Transforms and research on
cyclic components in financial markets, as detailed in "Cycle Analytics for Traders"
(2013).
Interpretation:
- Positive readings (teal bars) indicate accelerating upward momentum
- Negative readings (orange bars) suggest accelerating downward momentum
- Larger bars indicate stronger momentum acceleration
- Shrinking bars signal momentum deceleration
Trading Application: Use as an early warning system for potential trend exhaustion
or confirmation of a new trending move. When momentum velocity diverges from price,
it often precedes a reversal.
------------------------------------------------------------------------------------
3.3. ADAPTIVE LEVELS
------------------------------------------------------------------------------------
Description: Dynamic overbought and oversold boundaries that adjust to market
conditions, providing context-aware trading signals.
Calculation: Uses statistical methods based on the standard deviation of the SSVZO
values over a longer period. These levels automatically widen during higher volatility
periods and narrow during consolidation.
Research Base: Draws from Perry Kaufman's work on Adaptive Moving Averages (AMA) and
Bollinger's research on dynamic volatility bands, as published in "Trading Systems
and Methods" (2013).
Interpretation:
- Adaptive Overbought (dotted circles above): Dynamic ceiling that expands/contracts
based on market volatility
- Adaptive Oversold (dotted circles below): Dynamic floor that expands/contracts based
on market volatility
Trading Application: More reliable for identifying extremes than static levels,
particularly in changing market conditions or different instruments. Touching these
levels often provides higher-probability reversal signals.
------------------------------------------------------------------------------------
3.4. STATIC LEVELS
------------------------------------------------------------------------------------
Description: Fixed overbought and oversold horizontal lines that provide consistent
reference points for excess market conditions.
Calculation: Preset at +60 (overbought) and -60 (oversold) based on historical
analysis of volume behavior across multiple markets, extending the classic VZO range.
Interpretation:
- Readings above +60 suggest potential buying exhaustion
- Readings below -60 indicate potential selling exhaustion
- Duration spent beyond these levels correlates with reversal probability
Trading Application: Use as baseline reference points for extreme conditions. Most
effective when combined with other confirmation signals like divergences or
candlestick patterns.
------------------------------------------------------------------------------------
3.5. TREND SHIFT DETECTION
------------------------------------------------------------------------------------
Description: Visual markers and optional background shading highlighting potential
trend changes when the SSVZO crosses the zero line.
Calculation: Based on mathematical crossovers of the SSVZO value above or below the
zero line, with pattern recognition to reduce false signals.
Research Foundation: Incorporates concepts from Dr. Alexander Elder's "triple screen
trading system" and Mark Chaikin's volume-based trend identification research.
Interpretation:
- Upward triangles indicate bullish trend shifts (SSVZO crossing above zero)
- Downward triangles indicate bearish trend shifts (SSVZO crossing below zero)
- Background shading emphasizes the new trend direction
Trading Application: These signals often precede price trend changes and can serve
as entry triggers when aligned with the higher timeframe trend.
------------------------------------------------------------------------------------
3.6. GLOW EFFECT VISUALIZATION
------------------------------------------------------------------------------------
Description: An aesthetic enhancement creating a gradient "glow" around the main SSVZO
line, improving visual clarity and emphasizing signal strength.
Calculation: Generated using percentage-based bands around the main SSVZO value, with
multiple translucent layers to create a subtle illumination effect.
Design Inspiration: Inspired by modern UI/UX design principles for financial
dashboards and the MATS (Moving Average Trend Sniper) indicator's visual presentation,
enhancing perception of signal strength through visual intensity.
Interpretation:
- Teal glow indicates positive SSVZO values (bullish)
- Orange glow indicates negative SSVZO values (bearish)
- Glow intensity correlates with the strength of the signal
Trading Application: Beyond aesthetics, the glow creates visual emphasis that makes
trend direction, strength, and changes more immediately apparent, particularly useful
during fast-moving market conditions.
------------------------------------------------------------------------------------
4. REFERENCES & FURTHER READING
------------------------------------------------------------------------------------
1. Ehlers, J. F. (2001). "Rocket Science for Traders: Digital Signal Processing
Applications." John Wiley & Sons.
2. Ehlers, J. F. (2004). "Cybernetic Analysis for Stocks and Futures: Cutting-Edge
DSP Technology to Improve Your Trading." John Wiley & Sons.
3. Ehlers, J. F. (2013). "Cycle Analytics for Traders: Advanced Technical Trading
Concepts." John Wiley & Sons.
4. Khalil, W. (2009). "The Volume Zone Oscillator." Technical Analysis of Stocks &
Commodities, November 2009.
5. Kaufman, P. J. (2013). "Trading Systems and Methods." 5th Edition, Wiley Trading.
6. Elder, A. (2002). "Come Into My Trading Room: A Complete Guide to Trading."
John Wiley & Sons.
7. Bollinger, J. (2002). "Bollinger on Bollinger Bands." McGraw-Hill Education.
------------------------------------------------------------------------------------
END OF DOCUMENTATION
------------------------------------------------------------------------------------
Trailing Cumulative Volume DeltaShort Description:
A dynamic volume delta indicator that calculates a trailing sum of net buying/selling pressure over a user-defined number of recent bars, offering a more adaptive view of order flow momentum compared to fixed-anchor CVD.
Overview:
The Trailing Cumulative Volume Delta (TCVD) indicator provides a powerful way to analyze market sentiment by tracking the net difference between buying and selling volume. Unlike traditional Cumulative Volume Delta (CVD) indicators that typically reset at fixed intervals (e.g., daily, weekly), the TCVD calculates a rolling sum of volume delta over a specified number of recent bars. This "trailing" approach offers a more fluid and responsive measure of recent order flow dynamics.
How it Works:
Per-Bar Delta Calculation: For each bar on your chart, the indicator first calculates the net Volume Delta. This is done by looking at a finer, user-configurable Lower Timeframe (e.g., 1-minute data for a 15-minute chart bar) to determine the aggressive buying vs. selling volume within that bar.
Trailing Sum: The indicator then sums these individual per-bar net deltas over a user-defined Trailing Bars lookback period. For example, if "Trailing Bars" is set to 20, the TCVD value will represent the cumulative net delta of the last 20 bars.
Visualization:
The TCVD is plotted in a "MACD-Columns-Style" in a separate pane.
Teal: When the TCVD value is increasing (suggesting growing net buying pressure or diminishing net selling pressure over the trailing period).
Red: When the TCVD value is decreasing (suggesting growing net selling pressure or diminishing net buying pressure over the trailing period).
White: When it is returning to the mean.
How to Interpret and Use TCVD:
Trend Strength & Momentum:
A rising TCVD suggests that, on average over the trailing period, buying pressure is dominant or strengthening. This can confirm bullish price action or indicate underlying strength.
A falling TCVD suggests that selling pressure is dominant or strengthening, potentially confirming bearish price action or indicating weakness.
Divergences:
Unlike other Divergences, the CVD has two different types of Divergences: a) Absorption and b) Exhaustion. You only want to trade the Absorption pattern.
Zero Line Crossovers:
TCVD crossing above the zero line can indicate a shift towards net positive buying pressure over the lookback period.
TCVD crossing below the zero line can indicate a shift towards net positive selling pressure.
Confirmation: Use TCVD to confirm breakouts or breakdowns. A price breakout accompanied by a strongly rising TCVD is generally more reliable.
Key Settings:
Trailing Bars: (Default: 10)
Determines the number of recent bars to include in the cumulative delta sum.
Shorter periods make the TCVD more responsive to immediate changes.
Longer periods provide a smoother, longer-term view of order flow.
Use custom timeframe: (Checkbox, Default: false)
Allows you to override the automatic selection of the lower timeframe for delta calculation.
Timeframe for Delta Calculation: (Default: "1" - 1 minute)
Specifies the lower timeframe data used to calculate the volume delta for each individual chart bar.
Choosing a very fine timeframe (e.g., seconds) can provide high precision but may be limited by data availability or processing load.
If "Use custom timeframe" is unchecked, the script attempts to choose a sensible default based on your chart's timeframe (e.g., "1S" for second charts, "1" for intraday, "5" for daily, "60" for weekly+).
Examples:
Confirming Breakout Strength:
Price breaks out above a significant resistance level.
If the TCVD is also sharply rising and has perhaps crossed above its zero line, it provides confirmation that strong buying interest is fueling the breakout, increasing confidence in its validity.
Important Notes:
This indicator requires reliable volume data from your broker/data feed to function correctly. If your chart does not have volume, or if the volume data is unreliable, the TCVD will not be accurate.
Like all indicators, TCVD is best used as part of a comprehensive trading strategy, in conjunction with price action analysis and other indicators or tools.
Experiment with the Trailing Bars and Timeframe for Delta Calculation settings to find what best suits your trading style, the asset you are analyzing, and the chart timeframe you are using.
Feel free to modify this, add your personal touch, or include specific screenshots when you publish!
Volume candle intraday 90% valid - with alertThe candle with the highest volume of the day and that creates a new daily high or low.
- Only usable on M15 timeframes;
- You can set a range of bars (from the beginning of the day) to ignore;
- "90% valid" means a candle with volume greater than 90% of the last candle with the highest volume of the day (in the script you can change the percentage of valid volumes to define the candle volume, replacing all the "90" with the desired percentage);
- Long volumes are compared to longs and short volumes are compared to shorts;
- Script created with ChatGpt;
The psychology behind this pattern is the following: on the daily high/low, a lot of volumes will enter in a short time, either by absorption: buyers or sellers enter en masse following the trend when it is too late; or by exhaustion: buyers or sellers who entered en masse and late have no more strength to continue pushing the price, they cause a volume peak to buy/sell as much as they could, then their enemies take over forming a high/low).
Happy trading everyone! :)
###################################################################################
La candela con il volume più alto della giornata e che crea un nuovo massimo o minimo giornaliero.
- Utilizzabile solo su timeframe M15;
- Si può impostare un range di barre(da inizio giornata) da ignorare;
- "90% valida" sta per candela con volume superiore del 90% dell'ultima candela con volume più alto della giornata(nello script si può cambiare percentuale di volumi validi per definire candela volume, sostituendo tutti i "90" con la percentuale desiderata);
- I volumi long vengono confrontati con i long e i volumi short con gli short;
- Script creato con ChatGpt;
La psicologia dietro questo pattern è la seguente: sul massimo/minimo giornaliero entreranno tanti volumi in breve tempo, sia per assorbimento: buyers o sellers entrano in massa seguendo il trend quando è troppo tardi; sia per esaurimento: buyers o sellers entrati in massa e in ritardo non hanno più forza per continuare a spingere il prezzo, causano un picco volumetrico per comprare/vendere più che potevano, quindi i loro nemici prendono il sopravvento formando un massimo/minimo).
Buon trading a tutti! :)
Delta AO + Regular AO (Normalized)🔀 Delta AO + Regular AO (Normalized) – Visualizing Market moods becomes simpler 🔀
🧠 Introduction
The Delta AO + Regular AO (Normalized) is a custom oscillator that fuses the power of classic momentum analysis with volume-derived delta flow to give traders a dual-perspective edge.
This tool was born from a need to better visualize internal market thrust (via delta) while still respecting the time-tested signal power of the traditional Awesome Oscillator (AO).
🔍 What makes it unique?
✅ Volume-based Delta Calculation – Models upward/downward delta using a custom volatility-weighted volume allocation method, not simple tick-delta or raw buys/sells.
✅ Cumulative Delta Candles – Instead of just plotting bars, the indicator rebuilds the market structure using cumulative delta logic.
✅ Dual AO Display – Shows both custom delta AO and traditional price AO simultaneously.
✅ Normalized Scaling – Each AO is independently normalized by its standard deviation (volatility-adjusted), making both indicators visually comparable without distortion.
🧮 Under the Hood
Let’s break down the components:
1. Delta Logic 📊
Rather than using raw delta or tick-level data, this script simulates net effort:
Delta Up = Volume × a smart weighting when the candle is bullish
Delta Down = Volume × weighting when the candle is bearish
The weighting dynamically adjusts based on candle body-to-wick ratio. This provides a more refined delta estimate based on candle structure.
This delta is accumulated (cumulative delta) and used to form a synthetic OHLC candle structure.
2. AO Calculations ⚖️
Custom AO: Calculated from the median of synthetic delta candles
Regular AO: Classic (median price 5-period SMA - 34-period SMA)
Both are normalized using their own 34-bar standard deviation, improving comparability and visualization in one pane.
3. Color Coding 🎨
For the delta AO histogram:
Lime: Bullish + Increasing Momentum
Green: Bullish + Weakening Momentum
Red: Bearish + Increasing Momentum (to the downside)
Maroon: Bearish + Weakening Momentum
This lets you immediately spot momentum shifts and strength behind volume-based moves.
📈 How to Use – Trading Guide
🔧 Recommended Setup:
Timeframe: Works well on all intraday and higher timeframes (5m–1D)
Symbol: Especially effective on liquid instruments (futures, indices, large caps)
✅ Entry Signals
🔹 Buy Setup
Delta AO turns green or lime above zero, and Regular AO is also rising
Ideal confirmation: Lime bar (strong bullish delta momentum) and a crossover above zero
🔹 Sell Setup
Delta AO turns maroon or red below zero, and Regular AO is also falling
Ideal confirmation: Red bar (strong bearish delta momentum) and AO falling further below zero
🔄 Momentum Confirmation
Look for divergence between the Delta AO and Regular AO.
🔼 If Delta AO is rising but Regular AO is flat or falling → Volume is leading price (possible breakout ahead)
🔽 If Regular AO is strong but Delta AO fades → Price may be unsustainable (fakeout risk)
🛑 Exit / Reversal Clues
Sudden color shifts (e.g., Lime → Green → Maroon) can signal momentum exhaustion
Both AOs converging to zero suggests consolidation phase ahead
📌 Pro Tips
Use this with volume profile, support/resistance, or market structure zones for maximum confluence
Works great as a secondary confirmation tool for your existing strategy
💬 Final Thoughts
This oscillator is not just a pretty double AO — it's a strategic fusion of price and volume time-series designed to help you anticipate shifts before they’re obvious in price alone.
If you're looking for:
A modernized AO
Volume-integrated signal clarity
Normalized, noise-filtered momentum visual
Then this tool belongs in your chart arsenal.
📈 Try it. Test it. Pair it. If you find value, consider sharing or following for more next-gen indicators.
Please note this is an educational idea and past performance is not assurance of future performance.
Happy trading!
— @Pratik_4Clover
[blackcat] L2 Trend Guard OscillatorOVERVIEW
📊 The L2 Trend Guard Oscillator is a comprehensive technical analysis framework designed specifically to identify market trend reversals using adaptive filtering algorithms that combine price action dynamics with statistical measures of volatility and momentum.
Key Purpose:
Generate reliable early warning signals before major trend changes occur
Provide clear directional bias indicators aligned with institutional investor behavior patterns
Offer risk-managed entry/exit opportunities suitable for various timeframes
TECHNICAL FOUNDATION EXPLAINED
🎓 Core Mechanism Breakdown:
→ Advanced smoothing technique emphasizing recent data points more heavily than older ones
↓ Reduces lag while maintaining signal integrity compared to traditional MA approaches
• Short-term Momentum Assessment:
🔶 Relative strength between closing prices vs lower bounds
• Long-term Directional Bias Analysis:
📈 Extended timeframe comparison generating structural context
• Defense Level Generation:
➜ Protective boundary calculation incorporating EMAs for stability enhancement
PARAMETER CONFIGURATION GUIDE
🔧 Adjustable Settings Explained In Detail:
Timeframe Selection:**
↔ Controls lookback period sensitivity affecting responsiveness
↕ Adjusts reaction speed vs accuracy trade-off dynamically
Weight Factor Specification:**
⚡ Influences emphasis on newer versus historical observations
🎯 Defines key decision-making thresholds clearly
ALGORITHM EXECUTION FLOW
💻 Processing Sequence Overview:
:
→ Gather raw pricing inputs across required periods
↓ Normalize values preparing them for subsequent processing stages
:
✔ Calculate relative strength positions against established ranges
❌ Filter outliers maintaining signal integrity consistently
⟶ Apply dual-pass filtering reducing false signals effectively
➡ Generate actionable trading opportunities systematically
VISUALIZATION ARCHITECTURE
🎨 Display Elements Designated Purpose:
🔵 Primary Indicator Traces:
→ Aqua Trace: Buy/Sell Signal Progression
↑ Red Line: Opposing Force Boundary
🟥 Gray Dashed: Zero Reference Point
🏷️ Label System For Critical Events:
✅ BUY: Bullish Opportunity Markers
❌ SELL: Bearish Setup Validations
STRATEGIC IMPLEMENTATION FRAMEWORK
📋 Practical Deployment Steps:
Initial Integration Protocol:
• Select appropriate timeframe matching strategy objectives
• Configure input parameters aligning with target asset behavior traits
• Conduct thorough backtesting under simulated environments initially
Active Monitoring Procedures:
→ Regular observation of labeled event placements versus actual movements
↓ Track confirmation patterns leading up to signaled opportunities carefully
↑ Evaluate overall framework reliability across different regime types regularly
Execution Guidelines Formulation:
✔ Enter positions only after achieving minimum number of confirming inputs
❌ Avoid isolated occurrences lacking adequate supporting evidence always
➞ Look for convergent factors strengthening conviction before acting decisively
PERFORMANCE OPTIMIZATION TECHNIQUES
🚀 Continuous Improvement Strategies:
Parameter Calibration Approach:
✓ Start testing default suggested configurations thoroughly
↕ Gradually adjust individual components observing outcome changes methodically
✨ Document findings building personalized version profile incrementally
Context Adaptability Methods:
🔄 Add supplementary indicators enhancing overall reliability when needed
🔧 Remove unnecessary complexity layers avoiding confusion/distracted decisions
💫 Incorporate custom rules adapting specific security behaviors effectively
Efficiency Improvement Tactics:
⚙️ Streamline redundant computational routines wherever possible efficiently
♻️ Leverage shared data streams minimizing resource utilization significantly
⏳ Optimize refresh frequencies balancing update speed vs overhead properly
Swing High/Low Scalper(Mastersinnifty)Overview
The Swing High/Low Scalper is designed for traders seeking structured entries and disciplined stop-loss planning during momentum shifts. It combines smoothed Force Index readings with swing high/low analysis to identify moments where both momentum and structural price levels align.
When a new directional bias is confirmed, the indicator plots clear entry signals and dynamically calculates the nearest logical stop-loss level based on recent swing points.
---
Core Logic
- Force Index Bias Detection
- The Force Index (price × volume change) is smoothed with an EMA to determine sustained bullish or bearish momentum.
- Signal Memory and Noise Reduction
- The indicator remembers the last signal (buy/sell) and only triggers a new signal when the bias changes, helping avoid redundant entries in sideways or noisy conditions.
- Swing-based Stop-Loss Calculation
- Upon signal confirmation, the script automatically plots a stop-loss label near the most recent swing low (for buys) or swing high (for sells).
- If conditions are extreme, fallback safety checks are used to validate the stop-loss placement.
---
Key Features
- Dynamic, structure-based stop-loss plots at every trade signal.
- Visual background bias:
- Green tint = Bullish bias
- Red tint = Bearish bias
- Minimalist and clean chart visualization for easy interpretation.
- Designed for scalability across timeframes (from 1-minutes to daily charts).
---
Why It’s Unique
- Unlike simple momentum oscillators or swing indicators, this tool integrates a state-tracking mechanism.
- A signal is only generated when a true shift in directional force occurs and swing structure supports the move, seeking to catch only meaningful changes rather than every minor fluctuation.
- This dual-filter approach emphasizes quality over quantity, aiming for disciplined entries with risk levels derived from actual price behavior, not arbitrary formulas.
---
How to Use
- Apply the Script to your desired chart and timeframe.
- Look for Signals:
- Green Up Arrow = Buy Signal
- Red Down Arrow = Sell Signal
- Observe Stop-Loss Labels
- Use the plotted SL labels for setting exit points based on recent swing structure.
- Monitor Background Bias:
- Green or Red background hints at prevailing directional momentum.
---
Important Disclaimer
This tool is intended to assist technical analysis and trade planning.
It does not provide financial advice or guarantee any future performance.
Always use additional risk management practices when trading.
Wyckoff Accumulation Distribution Wyckoff Accumulation & Distribution Indicator (RSI-Based)
This Pine Script is a technical analysis indicator built around the Wyckoff Method, designed to detect accumulation and distribution phases using RSI (Relative Strength Index) and pivot points. It automatically marks key structural turning points on the chart and highlights relevant zones with colored boxes.
What Does It Do?
Draws accumulation and distribution boxes based on RSI behavior.
Automatically detects Wyckoff structural signals:
SC (Selling Climax)
AR (Automatic Rally)
ST (Secondary Test)
BC (Buying Climax)
DAR (Automatic Reaction)
DST (Secondary Test - Distribution)
Identifies trend transitions by detecting sideways RSI movement.
Attempts to detect spring and UTAD-like deviations based on RSI reversals.
Uses RSI extremes in conjunction with pivot points to generate Wyckoff signals.
How Does It Work?
RSI Zone: It identifies sideways markets when RSI stays within ±20 of the 50 level (this range is configurable).
Pivot Points: It detects pivot highs/lows that sync with RSI values (pivotLen is adjustable).
Trend Box Drawing:
When RSI exits the sideways zone, the script draws a gray box between the highest high and lowest low within that range.
If RSI breaks upward, the box becomes green (Accumulation); if downward, it becomes red (Distribution).
Wyckoff Structural Points:
SC/BC: Detected when a pivot occurs with RSI below/above a threshold.
AR/DAR: The next opposite pivot after SC or BC.
ST/DST: The next same-direction pivot after AR or DAR.
How to Use It
Works best on 4H or daily charts for more reliable signals. Shorter timeframes may generate noise.
Primarily used for interpreting RSI structures through the lens of Wyckoff methodology.
Box colors help quickly identify market phase:
Green box: Likely Accumulation
Red box: Likely Distribution
Triangular markers show key signals:
SC, AR, ST: Accumulation points
BC, DAR, DST: Distribution points
Use these signals alongside price action to manually interpret Wyckoff phases.
image.binance.vision
image.binance.vision
What Is the Wyckoff Method?
The Wyckoff Method, developed in the 1930s by Richard Wyckoff, is a market analysis approach that focuses on supply and demand dynamics behind price movements.
Wyckoff’s 5 Phases:
Accumulation: Smart money gradually buying at low prices.
Markup: Price begins trending upwards.
Distribution: Smart money selling to retail traders.
Markdown: Downtrend begins as supply outweighs demand.
Re-accumulation / Re-distribution: Trend-continuation phases with consolidations.
This indicator is specifically designed to detect phase 1 (Accumulation) and phase 3 (Distribution).
Extra Notes
Repainting is minimal, as pivots are confirmed using historical candles.
Labels use plotshape for a clean, minimalist visual style.
Other Wyckoff events (like SOS, LPS, UT, UTAD) could be added in future updates.
This script does not generate buy/sell signals; it is meant for structural interpretation.
ZenAlgo - RangerThe core of the indicator is the daily range, anchored around the 1-minute timeframe VWAP (volume-weighted average price), with ±2 standard deviations defining the upper and lower bounds. This range dynamically forms throughout the day and then gets “locked” at 23:59 each day to establish historical reference values.
The indicator calculates this locked VWAP and standard deviation per day, which serves two primary purposes:
Drawing today's real-time evolving range , updated each minute.
Plotting previous daily ranges , based on historical locked VWAPs and standard deviations, providing visual reference boxes on the chart.
This design enables the trader to identify mean-reversion zones and persistent directional biases based on volume-weighted price consensus.
Multiple Standard Deviation Layers
Beyond the ±2.0 deviation bounds, optional lines are available at half-step increments (e.g., ±0.5, ±1.5, ..., ±4.5) and full-step levels beyond ±2.0 (±3.0, ±4.0, ±5.0). These provide a customizable grid to visualize price extremes, tail behavior, or potential breakout zones relative to volume-adjusted price equilibrium.
Users can enable only the levels they need, offering flexibility depending on their strategy (e.g., scalping versus swing trading).
Historical Range Retention
The script stores up to 70 previous daily VWAP + standard deviation values (adjustable). For each, it draws a full range box and standard deviation lines in the past. This historical context helps in understanding how current price interacts with prior days’ balance zones.
These boxes are always drawn from 00:00 to 23:59 UTC , ensuring consistent alignment across instruments and avoiding session-based discrepancies.
Monday Range Reference (Drawn on Tuesdays)
On Tuesdays, the indicator plots the previous Monday's VWAP-based range across the rest of the week. This serves as a persistent contextual anchor for traders watching weekly unfolding behavior. The range is defined identically (VWAP ±2σ) and drawn from Monday 00:00 through the following Monday.
This method assumes Monday often sets the tone or structure for the week, and tracking this level through time may highlight support/resistance confluence or range expansion scenarios.
Each Monday range is extended over 7 days and includes dashed lines at the 25%, 50%, and 75% marks within the range. These midrange markers help traders assess microstructure behaviors (e.g., reversion to median, failure to hold midpoint, etc.).
Daily Volume Delta via 4H Candles
The indicator also integrates daily buy/sell volume deltas , derived from 4-hour candles of the regular session (non-Heikin Ashi). The logic categorizes volume as:
Buy volume when candle closes above the previous close.
Sell volume when it closes below.
Even split when the candle closes flat.
These volumes accumulate each day to derive net delta (buy - sell). This delta is recorded for each day and can optionally be displayed. A similar process tracks the delta for each Monday range on an ongoing basis.
This information quantifies the market’s aggressive buying vs. selling , correlating with price positions inside or outside the VWAP ranges. A strong delta in one direction may justify a price sustaining above/below VWAP, or diverging from the previous range.
Interpretation and Best Usage Practices
VWAP±2σ Range : Considered a high-probability area for consolidation or reversal. Mean-reverting strategies can benefit from signals within this area.
VWAP±3.0 and beyond : Extreme deviations may signal exhaustion or breakout potential, but are less frequent.
Previous Range Overlap : Overlap of today’s price with past VWAP zones may indicate support/resistance zones.
Monday Range on Tuesday : Persistent levels where the week may repeatedly pivot. Best used on instruments that exhibit weekly cyclical behavior (e.g., indices, forex).
Delta Behavior : Sharp positive or negative delta combined with price outside VWAP bands may suggest initiative participation and potential trend continuation.
Added Value Over Free Alternatives
While many free VWAP tools exist, this script differs in several specific and factual ways:
Anchored 1-minute VWAP lock at a consistent daily timestamp (23:59 UTC), enabling historical analysis.
Historical storage of previous VWAP ranges , with adjustable memory depth and visual continuity.
Flexible standard deviation plotting , down to 0.5 increments, tailored to the user's strategy needs.
Dedicated Monday range analysis , not common in freely available scripts.
Volume delta tracking per day and per Monday range , offering a directional volume view unavailable in standard VWAP implementations.
Persistent and visual interpretation framework using extended boxes and dashed lines for easier contextual navigation.
Each of these additions increases the script’s utility for methodical traders relying on volume-weighted statistics, without requiring additional configuration or external calculations.
Limitations and Disclaimers
VWAP based on 1-minute resolution : The indicator uses minute-level data to calculate daily VWAP and standard deviation. This offers high fidelity on liquid instruments but may produce noisy or unreliable levels on illiquid assets or during periods of low volume. For example, microcap stocks or thinly traded altcoins might not yield stable VWAP centers.
Inferred buy/sell volume : Volume delta is estimated using price movement from one candle to the next (close-to-close logic), rather than actual trade-level aggressor data (which is not accessible via TradingView). This approximation may misclassify volume in choppy or low-volatility environments, especially in assets where price changes do not correlate well with order flow (e.g., crypto during low-volume weekends).
Non-continuous markets and price gaps : For assets that do not trade continuously (e.g., stocks, futures), the VWAP calculation starts fresh every day at 00:00 UTC, regardless of the instrument’s official session start. As a result:
Pre-market/post-market trades may be included in VWAP when analyzing equities, even though they are often excluded in professional VWAP tools.
Opening gaps in equities and futures may distort early VWAP values due to lack of volume context, especially if the previous day's session was already closed when new data begins accumulating.
Weekend gaps in crypto, although less frequent due to 24/7 trading, can still influence delta accumulation if abrupt moves happen during low liquidity periods.
Daily session alignment : The VWAP anchoring and box drawing uses 00:00 UTC to 23:59 UTC windows. For instruments with different official session timings (e.g., US equities, CME futures), this may cause mismatches between expected session VWAPs and the ones shown in this script.
Conclusion
The ZenAlgo – Ranger script offers a systematic visualization of volume-adjusted price behavior, combining statistical VWAP ranges with volume delta overlays. By integrating daily and weekly reference zones, this tool supports structured decision-making in various market environments, particularly for traders prioritizing mean reversion, range expansion, or trend confirmation.
30-Day Rolling VWAP30-Day Rolling VWAP (30-RVWAP)
Overview:
The 30-Day Rolling VWAP is an advanced technical analysis tool designed for crypto traders that combines Volume Weighted Average Price over a 30-day rolling window with sophisticated volume analysis to generate high-probability trading signals.
Key Features:
1. Dynamic Color-Coded VWAP Line
Green glow = Strong bullish pressure
Red glow = Strong bearish pressure
Gray = Neutral/balanced market
The line changes color based on volume-weighted directional pressure
2. Volume Pressure Zones
Multi-layered glowing fill effect around VWAP
Expands/contracts based on volatility and volume
Shows potential support/resistance zones
3. Smart Alert System
Buy/Sell alerts based on VWAP color change
Cross above/below VWAP alerts
Confidence levels based on pressure strength
How to Use:
1. Color Signals
When VWAP turns green: Consider buying (bullish pressure)
When VWAP turns red: Consider selling (bearish pressure)
Gray color indicates consolidation/neutral market
2. Alert Structure
Buy/Sell alerts include confidence percentage (0-100%)
Higher confidence = stronger directional pressure
Cross alerts notify when price crosses VWAP with distance
3. Volume Pressure Zones
Wider zones = higher volatility/volume
Use zones as dynamic support/resistance levels
Watch for price reactions at zone boundaries
4. Trading Strategy
Enter long when VWAP turns green with high confidence (60%+)
Enter short when VWAP turns red with high confidence
Use VWAP as trailing stop (exit when cross alerts trigger)
Use pressure zones for profit targets
5. Alert Messages
Buy Signal: "BTCUSDT | 15m | BUY Signal | Price: 42380.00 | VWAP: 42350.00 | Distance: 0.07% | Confidence: 78% due to strong bullish pressure"
Cross Alert: "BTCUSDT | 15m | CROSS ABOVE VWAP | Price: 42360.00 | VWAP: 42350.00 | Distance: 0.02%"
Best Practices:
Use higher timeframes (4H+) for trend direction; preferably **daily timeframe**
Combine with other indicators for confirmation
Monitor volume for signal validation
Consider market context when entering trades
The indicator combines multiple volume metrics to filter out false signals and provides clear visual and alert-based trading signals.
FeraTrading Relative Volume IndicatorThis FeraTrading Relative Volume Indicator measures relative volume pressure by comparing buying and selling activity, smoothed using a configurable average. It helps traders identify volume-driven momentum shifts, offering dynamic buy and sell signals based on weighted pressure values.
Key Features:
📈 Relative Volume (RV) Line: Measures net buying/selling pressure using volume-weighted price action.
🟢 Buy Signals: Triggered when RV crosses above a smoothed moving average (SMA 1).
🔴 Sell Signals (optional): Triggered when RV crosses below a separate SMA (SMA 2).
🔍 Customizable Inputs: Adjust smoothing length, weight, and signal sensitivity.
🕯️ Weighted Candles (optional): Visualizes custom OHLC based on volume-weighted volatility.
📊 Two SMAs: Use separate or combined moving averages to analyze trends in pressure.
🎨 Flexible Styling: Customize line and signal colors to match your chart setup.
Use Cases:
Spotting accumulation/distribution phases
Timing entries during volume surges
Confirming breakout momentum with underlying volume pressure
This indicator was developed by FeraTrading to visualize relative volume pressure.
3CRGANG - Histogram (Basic)This indicator provides traders with a unified view of momentum by combining multiple classic oscillators into a single histogram. By aggregating momentum signals into one visual output, it simplifies trend analysis, helping traders identify momentum shifts without managing multiple indicators separately.
What It Does
The 3CRGANG - Histogram (Basic) calculates a momentum-based histogram using a user-selected oscillator (e.g., RSI, MACD, MFI, RVI, Stochastic, Stochastic RSI, or TMASlope). The histogram is plotted with color-coded bars to indicate bullish, bearish, or neutral momentum, alongside predefined alert levels and a trend status table for quick reference.
Why It’s Useful
This script addresses the challenge of monitoring multiple momentum indicators by consolidating them into a single histogram. Each oscillator measures momentum differently (e.g., RSI tracks price strength, MACD focuses on moving average convergence, MFI incorporates volume), but the script normalizes these signals into a unified output. This reduces chart clutter and provides a clear, actionable signal for identifying trend direction, making it easier for traders to focus on key momentum shifts across various market conditions.
How It Works
The script follows these steps to generate the histogram:
Oscillator Selection: Traders choose one oscillator to base the histogram on. For example: RSI measures the speed and change of price movements, MACD tracks the relationship between two exponential moving averages, and MFI combines price and volume to measure buying/selling pressure. The choice of oscillator affects the histogram’s sensitivity to price movements.
Fast Oscillator Calculation: A fast-moving oscillator is computed using the selected method over a user-defined period (default: 8 bars). For instance, RSI calculates the relative strength of price gains versus losses, while MACD computes the difference between short and long EMAs. The result is normalized to a range centered around zero.
Histogram Plotting: The oscillator’s output is adjusted by a modification factor (default: 1) for sensitivity tuning and plotted as a histogram. Positive values indicate bullish momentum, negative values indicate bearish momentum, and values near zero suggest a lack of clear trend.
Color Coding: Bars are colored based on momentum and price direction: green for bullish momentum (price moving upward, histogram value typically positive), red for bearish momentum (price moving downward, histogram value typically negative), and grey for neutral momentum (ranging conditions or unclear trend).
Alert Levels: Predefined buy and sell levels are plotted as dotted lines to mark significant momentum thresholds. For most oscillators, levels are set at 20 (buy) and -20 (sell), representing overbought/oversold conditions based on historical performance. For TMASlope, levels are adjusted to 0.04 and -0.04, as it measures the slope of a triangular moving average relative to the average true range (ATR).
Trend Table: A table in the top-right corner displays the current timeframe’s trend status ("Buy Only," "Sell Only," or "Ranging") based on the histogram value, price direction, and alert levels, along with the histogram’s numerical value.
Underlying Concepts
The script is built on the concept of momentum aggregation, aiming to capture short-term price dynamics while filtering noise. By using a fast-moving oscillator, it emphasizes recent price action, and the histogram format provides a visual summary of momentum strength. The alert levels are derived from typical overbought/oversold thresholds for each oscillator, adjusted to ensure consistency across different methods. The trend table adds a layer of interpretation, helping traders quickly assess whether the momentum aligns with the broader trend.
Use Case
Trending Markets: In a bullish trend, green bars above the buy alert level (e.g., 20) indicate strong upward momentum, suggesting potential long entries. In a bearish trend, red bars below the sell alert level (e.g., -20) suggest short opportunities.
Ranging Markets: Grey bars or values between alert levels indicate a lack of clear momentum, prompting caution or scalping strategies.
Confirmation Tool: Use the histogram to confirm price action signals, such as breakouts or reversals, by ensuring momentum aligns with the direction of the move. For example, a breakout with green bars above the buy level may signal a stronger trend.
Settings
Choose Type: Select the oscillator to use (default: RSI - CLASSIC).
Source: Choose between Close or HL2 price data (default: Close).
Histogram Length: Set the period for oscillator calculation (options: 5, 8, 13; default: 8).
Modification Factor: Adjust the sensitivity of the histogram (default: 1).
Notes
The script supports classic oscillators only and operates on the current timeframe.
If volume data is unavailable for your ticker, MFI calculations may not work; select another oscillator to continue plotting.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.